package com.weixin.paleituo.activity;

import android.content.Context;
import android.content.Intent;
import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;

import com.weixin.paleituo.R;
import com.weixin.paleituo.base.BaseActivity;

import butterknife.BindView;
import butterknife.OnClick;

public class HouseHomeActivity extends BaseActivity {


    @BindView(R.id.iv_back_layout_head)
    ImageView mIvBackLayoutHead;
    @BindView(R.id.tv_title_layout_head)
    TextView mTvTitleLayoutHead;
    @BindView(R.id.ll_all_brokerage_activity_house_home)
    LinearLayout mLlAllBrokerageActivityHouseHome;
    @BindView(R.id.ll_mail_house)
    LinearLayout mLlMailHouse;
    @BindView(R.id.ll_recommend1_activity_house_home)
    LinearLayout mLlRecommend1ActivityHouseHome;
    @BindView(R.id.ll_recommend2_activity_house_home)
    LinearLayout mLlRecommend2ActivityHouseHome;

    @Override
    protected void initView() {
        setContentView(R.layout.activity_house_home);
    }

    @Override
    protected void initEvent() {
        super.initEvent();

    }

    @Override
    protected void initData() {
        super.initData();
        mTvTitleLayoutHead.setText("楼盘");
        mTvTitleLayoutHead.setVisibility(View.VISIBLE);
    }

    public static void startActivity(Context context) {
        Intent intent = new Intent(context, HouseHomeActivity.class);
        context.startActivity(intent);
    }


    @OnClick(R.id.iv_back_layout_head)
    public void onMIvBackLayoutHeadClicked() {
        finish();
    }

    @OnClick(R.id.ll_all_brokerage_activity_house_home)
    public void onMLlAllBrokerageActivityHouseHomeClicked() {
        BrokerageActivity.startActivity(this);
    }

    @OnClick(R.id.ll_mail_house)
    public void onMLlMailHouseClicked() {
        FloorHomeActivity.startActivity(HouseHomeActivity.this);
    }

    @OnClick(R.id.ll_recommend1_activity_house_home)
    public void onMLlRecommend1ActivityHouseHomeClicked() {
        FloorHomeActivity.startActivity(HouseHomeActivity.this);
    }

    @OnClick(R.id.ll_recommend2_activity_house_home)
    public void onMLlRecommend2ActivityHouseHomeClicked() {
        FloorHomeActivity.startActivity(HouseHomeActivity.this);
    }
}
